package com.stg.bean;

import java.io.Serializable;

import org.springframework.stereotype.Component;

/**
 * 
 * @author ahui
 * 社团属性
 *
 */
@Component
public class Assn implements Serializable{

	private static final long serialVersionUID = 2890295245958895991L;

	private Long id;
	
	private String name;	//社团名称
	
	private String belong;	//社团所属单位
	
	private String type;	//社团性质
	
	private String adminStudentId;	//负责人学号
	
	private String secondAdminStudentId;	//第二负责人学号
	
	private String teacherMessage;	//社团老师信息
	
	private int studentNum;	//学生数量
	
	private int is_pend;	//是否可以报名
	
	private String content;	//简介
	
	private int is_del;
	
	public Assn(){
		is_del = 0;
		content = "";
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBelong() {
		return belong;
	}

	public void setBelong(String belong) {
		this.belong = belong;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getAdminStudentId() {
		return adminStudentId;
	}

	public void setAdminStudentId(String adminStudentId) {
		this.adminStudentId = adminStudentId;
	}

	public String getSecondAdminStudentId() {
		return secondAdminStudentId;
	}

	public void setSecondAdminStudentId(String secondAdminStudentId) {
		this.secondAdminStudentId = secondAdminStudentId;
	}

	public String getTeacherMessage() {
		return teacherMessage;
	}

	public void setTeacherMessage(String teacherMessage) {
		this.teacherMessage = teacherMessage;
	}

	public int getStudentNum() {
		return studentNum;
	}

	public void setStudentNum(int studentNum) {
		this.studentNum = studentNum;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getIs_del() {
		return is_del;
	}

	public void setIs_del(int is_del) {
		this.is_del = is_del;
	}

	@Override
	public String toString() {
		return "Assn [id=" + id + ", name=" + name + ", belong=" + belong
				+ ", type=" + type + ", adminStudentId=" + adminStudentId
				+ ", secondAdminStudentId=" + secondAdminStudentId
				+ ", teacherMessage=" + teacherMessage + ", studentNum="
				+ studentNum + ", content=" + content + ", is_del=" + is_del
				+ ", is_pend=" + is_pend + "]";
	}

	public int getIs_pend() {
		return is_pend;
	}

	public void setIs_pend(int is_pend) {
		this.is_pend = is_pend;
	}
	
	
}
